/*
 *    Copyright (c) 2018-2025, proj All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 * Redistributions of source code must retain the above copyright notice,
 * this list of conditions and the following disclaimer.
 * Redistributions in binary form must reproduce the above copyright
 * notice, this list of conditions and the following disclaimer in the
 * documentation and/or other materials provided with the distribution.
 * Neither the name of the proj developer nor the names of its
 * contributors may be used to endorse or promote products derived from
 * this software without specific prior written permission.
 * Author: proj
 */
package com.ykht.proj.coupon.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ykht.proj.coupon.entity.FxSensitiveWords;
import com.ykht.proj.coupon.mapper.FxSensitiveWordsMapper;
import com.ykht.proj.coupon.service.FxSensitiveWordsService;
import com.ykht.proj.coupon.vo.FxSensitiveWordsVo;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**
 * 敏感词表
 *
 * @author proj code generator
 * @date 2021-07-07 16:20:00
 */
@Slf4j
@Service
@Transactional
@RequiredArgsConstructor
public class FxSensitiveWordsServiceImpl extends ServiceImpl<FxSensitiveWordsMapper, FxSensitiveWords> implements FxSensitiveWordsService {

	private final FxSensitiveWordsMapper fxSensitiveWordsMapper;

	/**
	 * 敏感词表 分页查询
	 *
	 * @param page    分页对象
	 * @param wordsVo 敏感词表
	 * @return
	 */
	@Override
	public IPage<FxSensitiveWordsVo> getFxSensitiveWordsPage(Page page, FxSensitiveWordsVo wordsVo) {
		return fxSensitiveWordsMapper.getFxSensitiveWordsPage(page, wordsVo);
	}
}
